package com.suncreate.zhtz.iot.model;

public class ResultJson {
    private int resultFlag=0;//结果标示(0-成功,其他-失败，返回错误代码)
    private String resultErrorMsg=null;//错误信息
    private Object result=null;//返回信息

    public int getResultFlag() {
        return resultFlag;
    }

    public void setResultFlag(int resultFlag) {
        this.resultFlag = resultFlag;
    }

    public String getResultErrorMsg() {
        return resultErrorMsg;
    }

    public void setResultErrorMsg(String resultErrorMsg) {
        this.resultErrorMsg = resultErrorMsg;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "ResultJson{" + "resultFlag=" + resultFlag + ", resultErrorMsg='" + resultErrorMsg + '\'' + ", result=" + result + '}';
    }
}
